﻿$(".left .theme a").click(function () {
    var theme = $(this).data("value");

    var editor = ace.edit("editor1");
    editor.setTheme(theme);

    saveToStore("theme1", theme);
});

$(".right .theme a").click(function () {
    var theme = $(this).data("value");

    var editor = ace.edit("editor2");
    editor.setTheme(theme);
    saveToStore("theme2", theme);
});
